<include file="Public/header"/>

		<div id="app">
			<!-- sidebar -->
			<include file="Public/left"/>
			<!-- / sidebar -->
			<div class="app-content">
				<!-- start: TOP NAVBAR -->
				<include file="Public/headernav"/>
				<!-- end: TOP NAVBAR -->
				<div class="main-content" >
					<div class="wrap-content container" id="container">
						<!-- start: PAGE TITLE -->
						<section id="page-title">
							<div class="row">
								<div class="col-sm-8">
									<h1 class="mainTitle">{$msgtitle}</h1>
									<span class="mainDescription">服务信息</span>
								</div>
								
							</div>
						</section>
						<!-- end: PAGE TITLE -->
						<!-- start: YOUR CONTENT HERE -->
<div class="container-fluid container-fullw bg-white">
<form action="" role="form" id="form2" novalidate="novalidate" method="post">
<div class="row">
	<div class="col-md-10">

     <div class="tabbable">
			<ul class="nav nav-tabs tab-padding tab-space-3 tab-blue" id="myTab4">
				<li class="active">
					<a data-toggle="tab" href="#panel_overview">
						服务基本信息
					</a>
				</li>
				<li>
					<a data-toggle="tab" href="#shop_img">
						服务图片
					</a>
				</li>
			</ul>
          <div class="tab-content">
              <div id="panel_overview" class="tab-pane fade  in active">
                    <div class="row">
	                    <div class="col-md-8">


    <div class="form-group">
		<label class="control-label">
			服务名称：
		</label>
		{$data.goods_name}
	</div>
    <div class="form-group">
		<label class="control-label">
			服务广告词：
		</label>
		{$data.goods_jingle}
	</div>
  
    <div class="form-group">
        <label class="control-label">
            服务主图：
        </label> 
        <br>
        <div class="upload_file">
          
          <div class="fileinput fileinput-new" data-provides="fileinput">
                <div class="fileinput-new thumbnail" id="show_photo">
                    <img id="head_photo_src" src="{$data.goods_image}" alt="">
                </div>
            </div>        
         </div>          
    </div>
    <div class="form-group">
		<label class="control-label">
			服务价格：
		</label>
		{$data.goods_price}
	</div>

	  <div class="form-group">
		<label class="control-label">
			服务分类：  
		</label>
		{$data.class_name}
	</div>


	 <div class="form-group">
		<label class="control-label">
			服务介绍：  
		</label>
		<div>
			{$data.goods_body}
		 </div>
	</div>


	
<div class="form-group">
		<label class="control-label">
			状态：  
		</label>
		
		 	{$data['goods_state']?'上架':'下架'}	
	</div>

		<div class="form-group">
		<label class="control-label">
			审核状态：   
		</label>
		 <?php if($_SESSION['topadmin'] > 0){?>
		 	<div class="clip-radio radio-primary fa-hover Primary">
           <if condition="$data.id gt 0">
            <input type="radio" value="1" name="goods_status" id="id_no0" <if condition="$data['goods_status'] === '0'">checked="checked"</if> >
			<label for="id_no0">
				待审核
			</label>

			<input type="radio" value="1" name="goods_status" id="id_no1" <if condition="$data.goods_status eq 1">checked="checked"</if> >
			<label for="id_no1">
				审核通过
			</label>

			<input type="radio" value="2" name="goods_status" id="id_yes1" <if condition="$data.goods_status eq 2">checked="checked"</if> >
			<label for="id_yes1">
				审核不通过
			</label>
             <else/>
  <input type="radio" value="0" name="goods_status" id="id_no0">
			<label for="id_no0">
				待审核
			</label>

             <input type="radio" value="1" name="goods_status" id="id_no1" checked="checked">
			<label for="id_no1">
				审核通过
			</label>

			<input type="radio" value="2" name="goods_status" id="id_yes1"   >
			<label for="id_yes1">
				审核不通过
			</label>

			</if>
			</div>
			<?php }else{ ?>
			  <if condition="$data['goods_status'] === '0'">
                 待审核
			 <if condition="$data.goods_status eq 1">
			   审核通过
			 <else/>
			    审核不通过
			 </if> 	 	
		   
		  <?php } ?>
		 

		
	</div>


	 <div class="form-group">
		<label class="control-label">
			审核不通过意见：  
		</label>
		<div>
			<textarea id="goods_status_des" name="goods_status_des"  class=" autosize" data-autosize-on="true" style="overflow: hidden; resize: horizontal; word-wrap: break-word;  width: 100%;  height: 100px;">{$data.goods_status_des}</textarea>
		 </div>
	</div>
	

<div class="row">
<div class="col-md-4">
	<input type="hidden"  value="{$data.id}" name="id">
	<button class="btn btn-primary btn-wide pull-left" type="submit">
		提交 <i class="fa fa-arrow-circle-right"></i>
	</button>
</div>

</div>	



                         </div>
                     </div>
              </div>

             


 <div id="shop_img" class="tab-pane fade">
                    <div class="row">
	                    <div class="col-md-8">



        <div class="form-group">
       
        <br>
        <div class="goods_image_url">
          
       <volist name="data['goods_image_url']" id='vo'>
          <div class="fileinput fileinput-new" data-provides="fileinput">
                <div class="fileinput-new thumbnail" id="show_photo_background">
                    <img id="head_photo_src_background" src="{$vo}" alt="" >
                </div>
          </div>
       </volist>
                 
         </div>          
     
    </div>





                    </div>
         </div>
  </div>
  	






          </div>
</div>

	
	
	
	






</div>
</div>


										
</form>
</div>	


                  





						<!-- end: YOUR CONTENT HERE -->
					</div>
				</div>
			</div>
			<!--  FOOTER and SETTINGS -->
			
           <include file="Public/footer"/>
			<!-- end: FOOTER -->
			<!-- start: OFF-SIDEBAR -->
			
			<!-- end: OFF-SIDEBAR -->
			
		</div>
		<!-- start: MAIN JAVASCRIPTS -->

         <include file="Public/javascript"/>
		
		<!-- end: CLIP-TWO JAVASCRIPTS -->

	</body>
</html>
